XIQS Import Topup Code

From IQsimWiki

Jump to: navigation, search

XIQS Import Topup Code - Topup Management

Description
importXIQSTopup ( String ppname , String voucher , Long peak , Long offpeak , Long bonus , Long smspeak , Long smsoffpeak , Long smsbonus , Long transfercredit , [ Long id_partition ] , [ String comment ] )
Import Topup Code.
If current logged user is administrator, he should specify the target partition for this new entry.
Parameters

String ppname

Price Plan name

String voucher

Voucher code

Long peak

SIM Call Peak (mn) value to recharge

Long offpeak

SIM Call Off Peak (mn) value to recharge

Long bonus

SIM Call Bonus (mn) value to recharge

Long smspeak

SIM SMS Peak value to recharge

Long smsoffpeak

SIM SMS Off Peak value to recharge

Long smsbonus

SIM SMS Bonus value to recharge

Long transfercredit

Amount to decrease from transfer SIM card

[ Long id_partition ]

Partition Id

[ String comment ]

Voucher comment
Return Values
Structure
Long id - Topup Code Id

Error Data structure ( Error Management )

Possible failure code returns
*ERR_OBJ_NOT_FOUND (404) ERR_MSG_PPLAN_NOT_FOUND
*ERR_OBJECT_EXISTS (451) ERR_MSG_TOPUP_FOUND
*ERR_SRV_INTERNAL (500) ERR_MSG_NO_DB
See Also

getXIQSTopupList

createXIQSTopup

updateXIQSTopup

deleteXIQSTopup

resetXIQSTopupList

Personal tools
Namespaces
Variants
Views
Actions
Navigation
XIQS XML Protocol
XIQS Framework Libraries
XIQS Command List